package com.aitesting.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author zz
 * @since 2022-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("env")
public class Env implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 环境id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 环境名称
     */
    private String name;

    /**
     * 域名或IP地址
     */
    private String domain;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField("updateTime")
    private Date updateTime;

    /**
     * 项目id
     */
    private Integer projectId;

}
